<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2024/10/11
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>用户信息编辑</title>
    <link rel="stylesheet" href="./statics/layui/css/layui.css">
</head>
<body>
<form method="post" action="user?action=update">
    <%----隐藏表单，用于接收id--%>
    <input type="hidden" name="id" value="${user.id}">
<div class="layui-form-item">
    <div class="layui-inline">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-inline layui-input-wrap">
        <input type="text" name="name" value="${user.name}" class="layui-input">
    </div>
    </div>
</div>
    <div class="layui-form-item">
        <div class="layui-inline">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-inline layui-input-wrap">
            <input type="text" name="pass" value="${user.pass}" class="layui-input">
        </div>
    </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit lay-filter="demo1">更新</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>
